package com.hotel.project.usercenter.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hotel.project.usercenter.domain.Integration;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author William
 * @create 2022-04-14 9:40
 */
public interface IntegrationDao extends BaseMapper<Integration> {

    @Select("select * from integration where user_id = #{userId}")
    List<Integration> findByUserId(Long userId);
}
